package builder;

import java.util.Hashtable;
import java.util.Map;

public class Computadora {

	private Map<String, String> partes = new Hashtable<String, String>();
	
	public Map<String, String> getPartes() {
		return partes;
	}

	public void setPartes(Map<String, String> partes) {
		this.partes = partes;
	}

	public void mostrarPartes() {
		System.out.println("Monitor: "+partes.get("monitor"));
		System.out.println("Disco: "+partes.get("disco"));
		System.out.println("Memoria: "+partes.get("memoria"));
	}
}
